package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.CustomerAppdepot;
import com.weixing.mall.provider.model.domain.User;
import com.weixing.mall.provider.model.dto.sys.CustomerAppdepotDto;
import com.weixing.mall.provider.model.query.CustomerAppdepotQuery;
import com.weixing.mall.provider.model.vo.sys.CustomerAppdepotVo;
import com.weixing.mall.provider.model.vo.sys.SysUserRoleVo;

import java.util.List;

/**
 * <p>
 * APP仓库与客服人员的绑定关系 服务类
 * </p>
 *
 * @author Small
 * @since 2021-08-04
 */
public interface ICustomerAppdepotService extends IService<CustomerAppdepot> {

    IPage<CustomerAppdepotVo> selectOfPage(Page initMpPage, CustomerAppdepotQuery customerAppdepotQuery);

    void save(CustomerAppdepotDto customerAppdepotDto);


    List<SysUserRoleVo> userListByCode(String cuntomeruser);

    String checkRepeat(CustomerAppdepotDto customerAppdepotDto);
}
